<center>

<h1>Edit Inventory</h1>
<div>
[
	<a href='inventory.php'>back to overview</a> |
	edit | 
	<a href='inventory.php?action=confirm&confirm=delete&id=<!-- [[id]] -->'>delete</a>
]<br/>&nbsp;

<form action='inventory.php?action=doedit' method='post'>
	<input type='hidden' name='id' value='<!-- [[id]] -->'/>
	<table class='inventoryform'>
		<tr><td class='inventorycapt'>Description</td><td class='inventoryfield'><input type='text' name='desc' class='inventoryfield' value='<!-- [[desc]] -->'/></td></tr>
		<tr><td class='inventorycapt'>Package</td><td class='inventoryfield'><input type='text' name='package' class='inventoryfield' value='<!-- [[package]] -->'/></td></tr>
		<tr><td class='inventorycapt'>Unit price</td><td class='inventoryfield'><input type='text' name='price' class='inventoryfield' value='<!-- [[price]] -->'/></td></tr>
		<tr><td class='inventorycapt'>Qty in stock</td><td class='inventoryfield'><input type='text' name='qty' class='inventoryfield' value='<!-- [[qty]] -->'/></td></tr>
		<tr><td class='inventorycapt'>Reorder info</td><td class='inventoryfield'><input type='text' name='reorder' class='inventoryfield' value='<!-- [[reorder]] -->'/></td></tr>
		<tr><td class='inventorycapt'>Stock item</td><td class='inventoryfield'><input type='checkbox' name='stock' value='<!-- [[stock]] -->'/></td></tr>
		
		<tr><td class='inventorycapt'>&nbsp;</td><td class='inventoryfield'><input type='submit' value='Save'/></td></tr>
	</table>
</form>

</div>

</center>
